package com.github.wj.web.entity;

import com.github.wj.common.security.util.DateFormatUtils;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.util.StringUtils;

import javax.persistence.*;
import java.text.ParseException;
import java.util.Date;
import java.util.Objects;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018/3/16
 */
@Entity
@Table(name = "GXXS0101_BM")
public class Gxxs0101Bm {
    private Long id;
    private String xm;
    private Long gbtXbdm;//111  5418  nan  5419 nv
    private String xh;
    private String zp2;//照片
    private String csrqFmt;//出生日期
    private Long csrq;
    private Long sydSheng;
    private Long sydCity;
    private Long sydSection;
    private String jg;
    private Long gbtMzdm;//minzu
    private String sfzjh;
    private String tc;
    private Long nchkf;//是否农村户口0否1是
    private String ykth;
    private String zslb;
    private String rxsg;//升高
    private String rxtz;
    private String byxx;
    private String xx;
    private String xq;
    private Long zzjg;//zu
    private Long nj;
    private Long zy;//zhuanye  2018
    private String zym;
    private String zymc;
    private Long hbXz;
    private Long rxny;
    private Long yjbyrq;
    private Long hbXsdqzt;
    private Long sfjdlk;
    private String clsc;
    private String txdz;
    private String yb;
    private String brsj;//本人手机
    private String jtlxr;
    private String yddh;
    private Long lxrZzmm;
    private String lxrgx;
    private String lxrzy;
    private String jtlxr2;
    private String yddh2;
    private Long lxrZzmm2;
    private String lxrgx2;
    private String lxrzy2;
    private String jtlxr3;
    private String yddh3;
    private String lxrzy3;
    private Long lxrZzmm3;
    private String lxrgx3;
    private Long jfzt;
    private Long fbzt;
    private String hnhy1;
    private String zhxxx1;
    private String zmr1;
    private String hnhy2;
    private String zhxxx2;
    private String zmr2;
    private String hnhy3;
    private String zhxxx3;
    private String zmr3;
    private String jfdh;
    private Long jbkj;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date jfsj;
    private String jfbz;
    private String openid;
    private Long bmnf;
    private Date bmsj;
    private Long kslx;

    @Id
    @Column(name = "ID")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "XM")
    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    @Basic
    @Column(name = "GBT_XBDM")
    public Long getGbtXbdm() {
        return gbtXbdm;
    }

    public void setGbtXbdm(Long gbtXbdm) {
        this.gbtXbdm = gbtXbdm;
    }

    @Basic
    @Column(name = "XH")
    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    @Basic
    @Column(name = "ZP2")
    public String getZp2() {
        return zp2;
    }

    public void setZp2(String zp2) {
        this.zp2 = zp2;
    }

    @Basic
    @Column(name = "CSRQ")
    public Long getCsrq() {
        return csrq;
    }

    public void setCsrq(Long csrq) {
        this.csrq = csrq;
    }

    @Basic
    @Column(name = "SYD_SHENG")
    public Long getSydSheng() {
        return sydSheng;
    }

    public void setSydSheng(Long sydSheng) {
        this.sydSheng = sydSheng;
    }

    @Basic
    @Column(name = "SYD_CITY")
    public Long getSydCity() {
        return sydCity;
    }

    public void setSydCity(Long sydCity) {
        this.sydCity = sydCity;
    }

    @Basic
    @Column(name = "SYD_SECTION")
    public Long getSydSection() {
        return sydSection;
    }

    public void setSydSection(Long sydSection) {
        this.sydSection = sydSection;
    }

    @Basic
    @Column(name = "JG")
    public String getJg() {
        return jg;
    }

    public void setJg(String jg) {
        this.jg = jg;
    }

    @Basic
    @Column(name = "GBT_MZDM")
    public Long getGbtMzdm() {
        return gbtMzdm;
    }

    public void setGbtMzdm(Long gbtMzdm) {
        this.gbtMzdm = gbtMzdm;
    }

    @Basic
    @Column(name = "SFZJH")
    public String getSfzjh() {
        return sfzjh;
    }

    public void setSfzjh(String sfzjh) {
        this.sfzjh = sfzjh;
    }

    @Basic
    @Column(name = "TC")
    public String getTc() {
        return tc;
    }

    public void setTc(String tc) {
        this.tc = tc;
    }

    @Basic
    @Column(name = "NCHKF")
    public Long getNchkf() {
        return nchkf;
    }

    public void setNchkf(Long nchkf) {
        this.nchkf = nchkf;
    }

    @Basic
    @Column(name = "YKTH")
    public String getYkth() {
        return ykth;
    }

    public void setYkth(String ykth) {
        this.ykth = ykth;
    }

    @Basic
    @Column(name = "ZSLB")
    public String getZslb() {
        return zslb;
    }

    public void setZslb(String zslb) {
        this.zslb = zslb;
    }

    @Basic
    @Column(name = "RXSG")
    public String getRxsg() {
        return rxsg;
    }

    public void setRxsg(String rxsg) {
        this.rxsg = rxsg;
    }

    @Basic
    @Column(name = "RXTZ")
    public String getRxtz() {
        return rxtz;
    }

    public void setRxtz(String rxtz) {
        this.rxtz = rxtz;
    }

    @Basic
    @Column(name = "BYXX")
    public String getByxx() {
        return byxx;
    }

    public void setByxx(String byxx) {
        this.byxx = byxx;
    }

    @Basic
    @Column(name = "XX")
    public String getXx() {
        return xx;
    }

    public void setXx(String xx) {
        this.xx = xx;
    }

    @Basic
    @Column(name = "XQ")
    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    @Basic
    @Column(name = "ZZJG")
    public Long getZzjg() {
        return zzjg;
    }

    public void setZzjg(Long zzjg) {
        this.zzjg = zzjg;
    }

    @Basic
    @Column(name = "NJ")
    public Long getNj() {
        return nj;
    }

    public void setNj(Long nj) {
        this.nj = nj;
    }

    @Basic
    @Column(name = "ZY")
    public Long getZy() {
        return zy;
    }

    public void setZy(Long zy) {
        this.zy = zy;
    }

    @Basic
    @Column(name = "ZYM")
    public String getZym() {
        return zym;
    }

    public void setZym(String zym) {
        this.zym = zym;
    }

    @Basic
    @Column(name = "ZYMC")
    public String getZymc() {
        return zymc;
    }

    public void setZymc(String zymc) {
        this.zymc = zymc;
    }

    @Basic
    @Column(name = "HB_XZ")
    public Long getHbXz() {
        return hbXz;
    }

    public void setHbXz(Long hbXz) {
        this.hbXz = hbXz;
    }

    @Basic
    @Column(name = "RXNY")
    public Long getRxny() {
        return rxny;
    }

    public void setRxny(Long rxny) {
        this.rxny = rxny;
    }

    @Basic
    @Column(name = "YJBYRQ")
    public Long getYjbyrq() {
        return yjbyrq;
    }

    public void setYjbyrq(Long yjbyrq) {
        this.yjbyrq = yjbyrq;
    }

    @Basic
    @Column(name = "HB_XSDQZT")
    public Long getHbXsdqzt() {
        return hbXsdqzt;
    }

    public void setHbXsdqzt(Long hbXsdqzt) {
        this.hbXsdqzt = hbXsdqzt;
    }

    @Basic
    @Column(name = "SFJDLK")
    public Long getSfjdlk() {
        return sfjdlk;
    }

    public void setSfjdlk(Long sfjdlk) {
        this.sfjdlk = sfjdlk;
    }

    @Basic
    @Column(name = "CLSC")
    public String getClsc() {
        return clsc;
    }

    public void setClsc(String clsc) {
        this.clsc = clsc;
    }

    @Basic
    @Column(name = "TXDZ")
    public String getTxdz() {
        return txdz;
    }

    public void setTxdz(String txdz) {
        this.txdz = txdz;
    }

    @Basic
    @Column(name = "YB")
    public String getYb() {
        return yb;
    }

    public void setYb(String yb) {
        this.yb = yb;
    }

    @Basic
    @Column(name = "BRSJ")
    public String getBrsj() {
        return brsj;
    }

    public void setBrsj(String brsj) {
        this.brsj = brsj;
    }

    @Basic
    @Column(name = "JTLXR")
    public String getJtlxr() {
        return jtlxr;
    }

    public void setJtlxr(String jtlxr) {
        this.jtlxr = jtlxr;
    }

    @Basic
    @Column(name = "YDDH")
    public String getYddh() {
        return yddh;
    }

    public void setYddh(String yddh) {
        this.yddh = yddh;
    }

    @Basic
    @Column(name = "LXR_ZZMM")
    public Long getLxrZzmm() {
        return lxrZzmm;
    }

    public void setLxrZzmm(Long lxrZzmm) {
        this.lxrZzmm = lxrZzmm;
    }

    @Basic
    @Column(name = "LXRGX")
    public String getLxrgx() {
        return lxrgx;
    }

    public void setLxrgx(String lxrgx) {
        this.lxrgx = lxrgx;
    }

    @Basic
    @Column(name = "LXRZY")
    public String getLxrzy() {
        return lxrzy;
    }

    public void setLxrzy(String lxrzy) {
        this.lxrzy = lxrzy;
    }

    @Basic
    @Column(name = "JTLXR2")
    public String getJtlxr2() {
        return jtlxr2;
    }

    public void setJtlxr2(String jtlxr2) {
        this.jtlxr2 = jtlxr2;
    }

    @Basic
    @Column(name = "YDDH2")
    public String getYddh2() {
        return yddh2;
    }

    public void setYddh2(String yddh2) {
        this.yddh2 = yddh2;
    }

    @Basic
    @Column(name = "LXR_ZZMM2")
    public Long getLxrZzmm2() {
        return lxrZzmm2;
    }

    public void setLxrZzmm2(Long lxrZzmm2) {
        this.lxrZzmm2 = lxrZzmm2;
    }

    @Basic
    @Column(name = "LXRGX2")
    public String getLxrgx2() {
        return lxrgx2;
    }

    public void setLxrgx2(String lxrgx2) {
        this.lxrgx2 = lxrgx2;
    }

    @Basic
    @Column(name = "LXRZY2")
    public String getLxrzy2() {
        return lxrzy2;
    }

    public void setLxrzy2(String lxrzy2) {
        this.lxrzy2 = lxrzy2;
    }

    @Basic
    @Column(name = "JTLXR3")
    public String getJtlxr3() {
        return jtlxr3;
    }

    public void setJtlxr3(String jtlxr3) {
        this.jtlxr3 = jtlxr3;
    }

    @Basic
    @Column(name = "YDDH3")
    public String getYddh3() {
        return yddh3;
    }

    public void setYddh3(String yddh3) {
        this.yddh3 = yddh3;
    }

    @Basic
    @Column(name = "LXRZY3")
    public String getLxrzy3() {
        return lxrzy3;
    }

    public void setLxrzy3(String lxrzy3) {
        this.lxrzy3 = lxrzy3;
    }

    @Basic
    @Column(name = "LXR_ZZMM3")
    public Long getLxrZzmm3() {
        return lxrZzmm3;
    }

    public void setLxrZzmm3(Long lxrZzmm3) {
        this.lxrZzmm3 = lxrZzmm3;
    }

    @Basic
    @Column(name = "LXRGX3")
    public String getLxrgx3() {
        return lxrgx3;
    }

    public void setLxrgx3(String lxrgx3) {
        this.lxrgx3 = lxrgx3;
    }

    @Basic
    @Column(name = "JFZT")
    public Long getJfzt() {
        return jfzt;
    }

    public void setJfzt(Long jfzt) {
        this.jfzt = jfzt;
    }

    @Basic
    @Column(name = "FBZT")
    public Long getFbzt() {
        return fbzt;
    }

    public void setFbzt(Long fbzt) {
        this.fbzt = fbzt;
    }

    @Basic
    @Column(name = "HNHY1")
    public String getHnhy1() {
        return hnhy1;
    }

    public void setHnhy1(String hnhy1) {
        this.hnhy1 = hnhy1;
    }

    @Basic
    @Column(name = "ZHXXX1")
    public String getZhxxx1() {
        return zhxxx1;
    }

    public void setZhxxx1(String zhxxx1) {
        this.zhxxx1 = zhxxx1;
    }

    @Basic
    @Column(name = "ZMR1")
    public String getZmr1() {
        return zmr1;
    }

    public void setZmr1(String zmr1) {
        this.zmr1 = zmr1;
    }

    @Basic
    @Column(name = "HNHY2")
    public String getHnhy2() {
        return hnhy2;
    }

    public void setHnhy2(String hnhy2) {
        this.hnhy2 = hnhy2;
    }

    @Basic
    @Column(name = "ZHXXX2")
    public String getZhxxx2() {
        return zhxxx2;
    }

    public void setZhxxx2(String zhxxx2) {
        this.zhxxx2 = zhxxx2;
    }

    @Basic
    @Column(name = "ZMR2")
    public String getZmr2() {
        return zmr2;
    }

    public void setZmr2(String zmr2) {
        this.zmr2 = zmr2;
    }

    @Basic
    @Column(name = "HNHY3")
    public String getHnhy3() {
        return hnhy3;
    }

    public void setHnhy3(String hnhy3) {
        this.hnhy3 = hnhy3;
    }

    @Basic
    @Column(name = "ZHXXX3")
    public String getZhxxx3() {
        return zhxxx3;
    }

    public void setZhxxx3(String zhxxx3) {
        this.zhxxx3 = zhxxx3;
    }

    @Basic
    @Column(name = "ZMR3")
    public String getZmr3() {
        return zmr3;
    }

    public void setZmr3(String zmr3) {
        this.zmr3 = zmr3;
    }

    @Basic
    @Column(name = "JFDH")
    public String getJfdh() {
        return jfdh;
    }

    public void setJfdh(String jfdh) {
        this.jfdh = jfdh;
    }

    @Basic
    @Column(name = "JBKJ")
    public Long getJbkj() {
        return jbkj;
    }

    public void setJbkj(Long jbkj) {
        this.jbkj = jbkj;
    }

    @Basic
    @Column(name = "JFSJ")
    public Date getJfsj() {
        return jfsj;
    }

    public void setJfsj(Date jfsj) {
        this.jfsj = jfsj;
    }

    @Basic
    @Column(name = "JFBZ")
    public String getJfbz() {
        return jfbz;
    }

    public void setJfbz(String jfbz) {
        this.jfbz = jfbz;
    }

    @Basic
    @Column(name = "OPENID")
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @Transient
    public String getCsrqFmt() {
        return csrqFmt;
    }

    public void setCsrqFmt(String csrqFmt) {
        this.csrqFmt = csrqFmt;
    }
    @Basic
    @Column(name = "BMNF")
    public Long getBmnf() {
        return bmnf;
    }

    public void setBmnf(Long bmnf) {
        this.bmnf = bmnf;
    }
    @Basic
    @Column(name = "BMSJ")
    public Date getBmsj() {
        return bmsj;
    }

    public void setBmsj(Date bmsj) {
        this.bmsj = bmsj;
    }

    @Basic
    @Column(name = "KSLX")
    public Long getKslx() {
        return kslx;
    }

    public void setKslx(Long kslx) {
        this.kslx = kslx;
    }
}
